package com.cens.mall.commodity.feign;

import com.cens.common.to.es.SkuESModel;
import com.cens.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/commodity")
    R commodityStatusUp(@RequestBody List<SkuESModel> skuESModelList);
}
